
<template>

  <div class="tab-header">
    <el-tabs v-model="activeName">
    <el-tab-pane label="基本信息" name="first">
      <BasicInfo />
    </el-tab-pane>
    <el-tab-pane label="文档详情" name="second">
      <Document />
    </el-tab-pane>
    <el-tab-pane label="图片详情" name="third">
      <PictureDetail />
    </el-tab-pane>
    <el-tab-pane label="产品关系" name="fourth">
      <Relationship />
    </el-tab-pane>
  </el-tabs>
  </div>
</template>

<script>
  import BasicInfo from './basicInfo'
  import Document from './document'
  import PictureDetail from './picture-detail'
  import Relationship from './relationship'
  export default {
    data() {
      return {
        activeName: 'first'
      };
    },
    components: {
      BasicInfo,
      Document,
      PictureDetail,
      Relationship
    },
    method: {

    }
  }
</script>

<style scoped>
  .tab-header >>> .el-tabs__header {
    margin-left: -20px;
    margin-right: -20px;
    padding: 10px 40px;
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
  }

  .tab-header >>> .el-tabs__content {
    padding: 0 20px;
  }

  .tab-header >>> .el-tabs__item {
    height: 30px;
    line-height: 30px;
  }
</style>

